				<div class="page-bar">
						<div class="page-toolbar">
						<div class="btn-group pull-right">
													<?php echo form_open('admin/classified_que/search_by')?>
														<select name="search_by" id="pub" class="select2_category form-control" data-placeholder="Choose a Category" tabindex="1">
														<option value="">select</option>
														<?php foreach($que_fieds as $que_k => $que_v):?>
														<?php if($que_k !== 'created_date' && $que_k !== 'status'):?>
														<?php if($search_by == $que_k):?>
														<option selected="selected" value="<?php echo $que_k;?>"><?php echo $que_v;?></option>
														<?php else:?>
														<option value="<?php echo $que_k;?>"><?php echo $que_v;?></option>
														<?php endif; endif; endforeach;?>
														</select><?php echo form_error('search_by');?>
														<input type="text" value="<?php echo $search_by_value;?>" name="search" id="article_search" class="form-control" placeholder="search"/>
														<input type="submit" class="btn blue" value="Search"/>
													<?php echo form_close();?>
							</ul>
						</div>
					</div>
				</div>
				<!-- END PAGE HEADER-->
				<!-- BEGIN PAGE CONTENT-->
				<div class="row">
					<div class="col-md-12">
						<!-- BEGIN EXAMPLE TABLE PORTLET-->
						<div class="portlet box blue">
							<div class="portlet-title">
								<div class="caption">
									<i class="fa fa-edit"></i>Classifieds Questions Table
								</div>
								<div class="tools">
									<a href="javascript:;" class="collapse">
									</a>
									<a href="#portlet-config" data-toggle="modal" class="config">
									</a>
									<a href="javascript:;" class="reload">
									</a>
									<a href="javascript:;" class="remove">
									</a>
								</div>
							</div>
							<div class="portlet-body">
								<div class="table-toolbar">
									<div class="row">
										<div class="col-md-6">
											<div class="btn-group">
											</div>
										</div>
										
									</div>
								</div>
								<?php if($question == 1){
									echo "No Records Found<br>";
									echo anchor('admin/classified_que/index','Back');
								}else{?>	
								<table class="table table-striped table-hover table-bordered" id="sample_editable_1">
								<thead>
								<tr>
								<?php foreach($que_fieds as $que_k => $que_v):?>
									<th>
										 <?php echo anchor('admin/classified_que/index/'.$query_id.'/'.$que_k.'/'.(($sort_order == 'asc' && $order_by == $que_k) ? 'desc' : 'asc'), $que_v);?>
									</th>
									<?php endforeach;?>
									<th>
										 Edit
									</th>
									<th>
										 Delete
									</th>
								</tr>
								</thead>
								<tbody>
								<?php echo 'Total Records: '.$classified_all_classifiedquestion->total;?>
								<?php //echo '<pre>';print_r($classified_all_classifiedquestion);exit;?>
								<?php foreach($classified_all_classifiedquestion->info as $question):?>
								<tr>
									<td>
										 <?php echo $question->question;?>
									</td>
									<td>
										 <?php if($question->status == 1){?>
										 <i class="fa fa-check"></i>
										 <?php }else{ ?>
										 <i class="fa fa-times"></i>
										  <?php } ?>
									</td>
									<td>
										 <?php echo $question->created_date;?>
									</td>
									<td>
										<a class="edit" href="<?php echo base_url().'index.php/admin/classified_que/edit_classified_que/'.$question->question_id;?>">
										Edit </a>
									</td>
									<td>
										<a class="delete" href="<?php echo base_url().'index.php/admin/classified_que/delete_classified_que/'.$question->question_id.'/'.$question->status;?>">
										<?php if($question->status == 1){?>
										 Delete
										 <?php }else{ ?>
										 Active
										  <?php } ?></a>
									</td>
								</tr>
								<?php endforeach;?>
								
							</table>
							<?php echo $pagination;?>
						<!-- END EXAMPLE TABLE PORTLET-->
					</div>
				</div>
				<!-- END PAGE CONTENT -->
			</div>
		</div>
	<?php }?>
		<!-- END CONTENT -->
		<!-- BEGIN QUICK SIDEBAR -->
		<!--Cooming Soon...-->
		<!-- END QUICK SIDEBAR -->
	</div>